import request from '@/common/js/request.js';

export default {

	// 获取轮播列表
	getCarouselList() {
		return request({
			url: '/carousel/list',
			method: 'POST',
		});
	},

	//获取品牌推文列表
	getBrandTweetList() {
		return request({
			url: '/brand-tweet/list',
			method: 'POST',
		});
	},

	//获取品牌介绍列表
	getBrandIntroductionList() {
		return request({
			url: '/brand-introduction/list',
			method: 'POST',
		});
	},




	// 获取客服二维码
	getServiceCode(data) {
		return request({
			url: '/public/customer-service-code',
			method: 'POST',
			data
		});
	},


	// 获取客服热线
	getServicePhone(data) {
		return request({
			url: '/public/customer-service-phone',
			method: 'POST',
			data
		});
	},


	// 获取微信公众号二维码
	getWechatOfficialAccountCode(data) {
		return request({
			url: '/public/wechat-official-account-code',
			method: 'POST',
			data
		});
	},




	// 获取门店列表
	getStoreList(data) {
		return request({
			url: '/store/list',
			method: 'POST',
			data
		});
	},


	// 获取门店下科室列表
	getStoreTerritoryList(data) {
		return request({
			url: '/store/territory-list',
			method: 'POST',
			data
		});
	},


	// 新增预约
	addOrder(data) {
		return request({
			url: '/order/add',
			method: 'POST',
			data
		});
	},


	// 预约列表
	orderList(data) {
		return request({
			url: '/order/list',
			method: 'POST',
			data
		});
	},


	// 取消预约
	orderCancel(data) {
		return request({
			url: '/order/cancel',
			method: 'POST',
			data
		});
	},


};